<html>
<!--media=print 这个属性可以在打印时有效-->
<style media=print>
.Noprint{display:none;}
.PageNext{page-break-after: always;}
</style>
<style type="text/css">
<!--
.STYLE4 {
	font-size: 14;
	font-weight: bold;
	color: #FF0000;
}
-->
</style>
<link rel="stylesheet" type="text/css" href="../style/style.css" />
<script type="text/javascript" src="../js/jquery/lib/jquery-1.4.4.min.js"></script>
        <script type="text/javascript" src="../js/jquery/plugin/validate/jquery.validate.js"></script>
        <script type="text/javascript" src="../js/jquery/plugin/validate/i18n/messages_cn.js"></script>
        <link type="text/css" rel="stylesheet" href="../js/jquery/plugin/formValidator/style/validator.css"/> 
        <script type="text/javascript" src="../js/jquery/plugin/formValidator/formValidator.js" ></script>
        <script type="text/javascript" src="../js/jquery/plugin/formValidator/formValidatorRegex.js" ></script>
        <script type="text/javascript" src="../js/complain_edit.js"></script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>咨询投诉处理</title>

<script type="text/javascript">
function reset(){
            $("#handle_suggestion").val("");
        }

</script>
</head>
	<#assign a=0>
   	<#list allPower?if_exists as power>
   		<#if power?number == 234>
   			<#assign a=a+1>
   		</#if>
   	</#list>
<body>
 <form method="post" action="complainEdit.action" id="complainEdit" name="complainEdit">
 <input type="hidden" name="complain.complain_id" value="${complain.complain_id?default('')}">
 <input type="hidden" name="complain_id" value="${complain.complain_id?default('')}">
  <table border="0" cellpadding="1" cellspacing="1" width="100%" bgcolor="#f4f2e9">
    <tr>
      <td height="50" colspan="3" align="right" bgcolor="#c0daec" id="formtop" style="height:34px; border:none"><input name="bnt_sos" type="button" id="bnt_Fax_Sends" value="返 回"   style="width:75px; height:30px; font-size:13px; font-weight: " onClick="javascript:history.back()"/>
      <label>  <span class="STYLE109">
      <#if a != 0>
	  <input name="bnt_so" type="button" id="bnt_Fax_Send" value="删 除" style="width:75px; height:30px; font-size:13px; font-weight:" onClick="location.href='complainDelete.action?complain_id=${complain.complain_id?default('')}'"/>&nbsp;
	  </#if>
	  </span></label></td>
    </tr>
   
    <tr>
      <td colspan="3" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
      <br />
      <!-- 内容 -->
      <div id="BlockDetail" class="WeatherCurrent">${complain.complain_content?default('')}</div>
      </td>
    </tr>
    
    <tr>
      <td colspan="3" height="30" align="left" bordercolor="#FFFFFF" bgcolor="#FFFFFF" style="color:#8f8f8f">
	  &nbsp;&nbsp;<img src="../images/ddaw.gif" width="7" height="9" border="0" >&nbsp;&nbsp;投诉时间：${complain.add_time?datetime?string("yyyy-MM-dd HH:mm:ss")}
	  &nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/ddaw.gif" width="7" height="9" border="0" >&nbsp;&nbsp;投诉人：${complain.complain_name?default('')}
       &nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/ddaw.gif" width="7" height="9" border="0" >&nbsp;&nbsp;投诉人手机：${complain.complain_phone?default('')}
       &nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/ddaw.gif" width="7" height="9" border="0" >&nbsp;&nbsp;投诉人固话：${complain.mobile?default('')}
       &nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/ddaw.gif" width="7" height="9" border="0" >&nbsp;&nbsp;投诉人地址：${complain.address?default('')}
       &nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/ddaw.gif" width="7" height="9" border="0" >&nbsp;&nbsp;投诉人单位：${complain.unit?default('')}
       &nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/ddaw.gif" width="7" height="9" border="0" >&nbsp;&nbsp;投诉人邮箱：${complain.email?default('')}
      </td>
    </tr>
    <#if complain.ishandle==1 >

      <td width="85%" colspan="3" align="left" bordercolor="#FFFFFF" bgcolor="#FFFFFF" >
       <div class="MbBox" style="left:0px;">
   <tr><td>
         <input name="radio" type="radio" value="1"/>短信通知
         
         </td>
         <td>短信内容：
         <input id="content" name="content" size="60px" value="您的咨询投诉已被处理，请及时查看"/>
       </td>
       <td><div id="contentTip"></div></td>
       </tr>
       </div>
         <div class="MbBox" style="color:#F66">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="5%" ><div style="width:65px;">处理意见</div></td>
    <td>
      <textarea name="handle_suggestion" id="handle_suggestion" cols="58" rows="10"></textarea>
      
    </td>
    <td><div id="handle_suggestionTip"></div></td>
     </tr>
</table>

         </div>
          <div class="MbBox" style="color:#F66; margin-left:120px;">

           <div class="left">
                      
                       <!--button按钮开始--->
				         <button name="submit" type="submit" id="complainEdit" tabindex="4" >提交处理</button>
				       <!--button按钮结束--->
                  </div>
                  
                  <div class="left mar-l25">
                     
                       <!--button按钮开始--->
				         <button  type="button" id="uw_flight_submit_lnk" tabindex="4"  onclick="location.href='javascript:reset();'">重置</button>
				       <!--button按钮结束--->
                  </div>
          </div>
      </td>
      <#elseif complain.ishandle==2>
      <tr>
    <td width="10%" height="90"  bordercolor="#FFFFFF" bgcolor="#FFFFFF" >&nbsp;&nbsp;&nbsp;&nbsp;<span class="style3">部门处理：</span></td>
      <td width="90%" colspan="2" align="left" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF" >
       <div class=" MbBox style3">部门名称：${complain.organization_name?default('')} | 处理人：${complain.handle_user?default('')}  | 处理时间：${complain.hundle_time?datetime?string("yyyy-MM-dd HH:mm:ss")}</div>
         <div class="MbBox" style="color:#F66; padding-top:10px;">处理意见：${complain.handle_suggestion?default('')}</div>
         
      </td>
    </tr>
      </#if>
  </table>
</form>
</body>
</html>